package com.ywgt.system.mapper;

import com.ywgt.system.pojo.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author yiping
 * @since 2021-01-18
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getMenuByRole();

    List<Menu> getMenus(Long id);

    List<Menu> getMenuTree();

    List<Menu> getMenuByRoleId(Integer id);
}
